﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace JRTestGame
{
    public class PlayerInfo
    {
        private int initHealth;
        private SpriteFont font;
        private Vector2 position;

        public int InitHealth
        {
            get { return initHealth; }
        }

        private int health;
        public int Health
        {
            get { return health; }
            set { health = value; }
        }

        public void Initialize(int initHealth, SpriteFont font, Vector2 position)
        {
            this.initHealth = initHealth;
            this.health = initHealth;
            this.position = position;
            this.font = font;
        }

        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.DrawString(font, "Health: " + health, position, Color.White);
        }
    }
}
